//
//  UITableView+HSYBase.h
//  HSY
//
//  Created by 陈浩 on 2017/4/12.
//  Copyright © 2017年 金开门. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "GzwTableViewLoading.h"

typedef NS_ENUM(NSInteger, HSYDataLoadCompleteStatus)
{
    kDataLoadCompleteStatusNoMoreData = 0,
    kDataLoadCompleteStatusFailed = -1,
    kDataLoadCompleteStatusDefault,
    kDataLoadCompleteStatusCancelled,
};

@interface UITableView (HSYBase)

@property (nonatomic, assign) NSInteger pageIndex;

- (void)setupMessage:(NSString *)message imageName:(NSString *)imageName;
- (void)addMJ_HeaderWithTarget:(id)target selector:(SEL)selector;
- (void)addMJ_FooterWithTarget:(id)target selector:(SEL)selector;

-(void)loadServerDataComplete:(HSYDataLoadCompleteStatus) status;


@end
